#ifndef MESSAGELISTENER_H
#define MESSAGELISTENER_H

class Message;

class QUINCE_CORE_EXPORT MessageListener
{
public:
    MessageListener() = default;
    virtual ~MessageListener();

    virtual string listeningCodes() const = 0;
    virtual bool receive(const Message &) = 0;
};

#endif // MESSAGELISTENER_H
